<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>jQuery UI Slider - Range slider</title>
<link href="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
 <script src="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.js"></script>
  <script>
  $( function() {
    $( "#slider-range" ).slider({
      range: true,
      min: 0,
      max: 500,
      values: [ 75, 300 ],
      slide: function( event, ui ) {
        $( "#start" ).val(ui.values[0]);
        $( "#end" ).val(ui.values[1]);

      }
    });
      $( "#start" ).val($( "#slider-range" ).slider( "values", 0 ));
      $( "#end" ).val($( "#slider-range" ).slider( "values", 1 ));



  } );

  </script>
</head>
<body>
 
 

<p>
 <input type="text" id="start" />
 <input type="text" id="end" />
</p>
 
<div id="slider-range"></div>
 
 
</body>
</html>